<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@page import="com.zhongkai.model.config.User"%>
<%@ include file="/system/include/taglib.jsp"%>
<html>
<head>
<base href="${pageScope.basePath }">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中山市美斯特实业有限公司</title>
<link type="text/css" rel="stylesheet" href="system/css/style.css" />
<link href="system/plugins/validateMyForm/css/plugin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="system/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="system/js/verify1.js"></script>
<script type="text/javascript" src="system/js/ticket/spCancel.js"></script>
<script type="text/javascript" src="system/plugins/validateMyForm/js/jquery.validateMyForm.1.5.js"></script>
<script type="text/javascript" language="javascript" src="system/js/public.js"></script>
<script type="text/javascript" language="javascript" src="system/js/jquery.blockUI.js"></script>
<script type="text/javascript">
		
</script>
</head>
<body>
<div class="main">
	<div class="position">当前位置: <a href="sysadm/desktop.jsp">桌 面</a> → 税票作废</div>
	<div class="mainbody">
		<div class="operate_info">操作说明：带 * 号必填</div>
		<div class="table">
			<form id="form1" action="system/ticket/spCancelform.jsp" method="post">
				<table width="100%" border="0" cellpadding="1" cellspacing="1" class="table_form">
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td colspan="8">税票号码：<input name="sphm" id=sphm value="${param.sphm}"/>&nbsp;<span style="color:red">*</span> <input type="submit" value="搜索" align="right" /> </td>
					</tr>
					
					<tr >
						<td  colspan="8"></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td style="font-size:15px;font-weight:bold;color: blue" colspan="9">税票信息：</td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<th >税票种类</th>
						<th>字别</th>
						<th >号码</th>
						<th >纳税人名称</th>
						<th >开票时间</th>
						<th >开票人</th>
						<th >纳税年份</th>
						<th >纳税金额</th>
						
					</tr>
					<mytag:List table="TSbCcsspxx" name="tSbCcsspxxList"><c:if test="${param.sphm==null || param.sphm==''}">0=1</c:if><c:if test="${param.sphm!=null && param.sphm!=''}">sphm='${param.sphm}' and pzztDm='02' and pzzlDm='01'</c:if></mytag:List>
					<logic:notEmpty name="tSbCcsspxxList">
						<logic:iterate id="tSbCcsspxx" name="tSbCcsspxxList">
							<mytag:viewCol table="TSbCcssbxx" name="tSbCcssbxx"><c:if test="${tSbCcsspxx.spXh==null || tSbCcsspxx.spXh==''}">0=1</c:if><c:if test="${tSbCcsspxx.spXh!=null && tSbCcsspxx.spXh!=''}">spXh='${tSbCcsspxx.spXh}'</c:if></mytag:viewCol>
							<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
								<c:if test="${tSbCcsspxx!=null&&tSbCcsspxx.pzzlDm!=null}">
									<mytag:View table="com.zhongkai.model.code.TDmCcsPzzl" id="${tSbCcsspxx.pzzlDm}" name="tDmCcsPzzl" entityStringId="true"></mytag:View>
								</c:if>
								
								<td>${tDmCcsPzzl.pzzlMc}</td>
								<td>${tSbCcsspxx.zb}</td>
								<td><a href="system/ticket/spCancelInfo.jsp?spXh=${tSbCcsspxx.spXh}">${tSbCcsspxx.sphm}</a></td>
								<td>${tSbCcsspxx.nsrMc}</td>
								<td><fmt:formatDate value="${tSbCcsspxx.kpRq}" type="date" pattern="yyyy-MM-dd" /></td>
	
								<mytag:viewCol table="User" name="user"><c:if test="${tSbCcsspxx.czrDm==null || tSbCcsspxx.czrDm==''}">0=1</c:if><c:if test="${tSbCcsspxx.czrDm!=null && tSbCcsspxx.czrDm!=''}">userIdentifier=${tSbCcsspxx.czrDm}</c:if></mytag:viewCol>
								
								<td>${user.userAccount}</td>
								<td><fmt:formatDate value="${tSbCcssbxx.ssqqRq}" type="date" pattern="yyyy"/></td>
								<td>${tSbCcssbxx.yjsJe}</td>
							</tr>
						</logic:iterate>
					</logic:notEmpty>
					<logic:empty name="tSbCcsspxxList">
						<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
							<td colspan="8" align="center">无税票信息...</td>
						</tr>
					</logic:empty>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" >
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
</body>
</html>
